﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="true" CodeFile="sanpham_Update.aspx.cs" Inherits="Administrator_sanpham_Update"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="menu_left">
        <li><a href="sanpham.aspx">Danh sách sản phẩm</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=close">Sản phẩm chưa bán</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=open">Sản phẩm đang bán</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=chayhang">Sản phẩm cháy hàng</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=outofdate">Sản phẩm hết hạn</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=cancel">Sản phẩm bị hủy</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<h2>Sửa Tình Trạng Sản Phẩm</h2>
 <table width="100%" border="1" cellspacing="1" cellpadding="3" id="TABLE1" runat="server"> 
             <tr>
                    <td style="width:30%">Mã Sản Phẩm</td>
                    <td style="width:70%"><asp:TextBox ID="txt_MaSP" runat="server" ReadOnly = true></asp:TextBox></td>
             </tr>
            <tr>
                    <td style="width:30%">Tình trạng</td>
                    <td style="width:70%">
                        <asp:DropDownList ID="ddl_tinhtrang" runat="server"  
                            >
                            <asp:ListItem>Close</asp:ListItem>
                            <asp:ListItem>Cháy Hàng</asp:ListItem>
                            <asp:ListItem>Open</asp:ListItem>
                            <asp:ListItem>Cancel</asp:ListItem>
                            <asp:ListItem>Hủy</asp:ListItem>
                            <asp:ListItem>Hết hàng</asp:ListItem>
                        </asp:DropDownList>
                        <asp:HiddenField ID="HiddenField1" runat="server" />
                     </td>
                </tr>  
               
                 <tr>
                    <td style="width: 166px"></td>
                    <td style="width: 674px">
                        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                        <asp:Button ID="btn_Up" runat="server" Text="OK" 
                            OnClick="btn_Up_Click" Width="85px"/>
                        <asp:HyperLink ID="HyperLink1" runat="server" Visible="False">HyperLink</asp:HyperLink>
                    </td>
                </tr>        
                
 </table>
</asp:Content>

